<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/views/include/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@ include file="/views/include/nocachehead.jsp"%>
<title>找回密码</title>
</head>
<body>
<c:set var="securityQuestion" scope="page" value="${requestScope.securityQuestion}" />
<c:if test="${securityQuestion eq null }">
	您未设置安全答问，建议您通过安全E-mail来找回您的密码。<br>
	如果您设置过您的安全E-mail，则我们会把邮件发送到你的安全E-mail上；<br>
	如果您还未设置安全E-mail，我们会把把邮件发送到你的注册E-mail上。<br>
	通过点击下面的按钮，您可以通过E-mail来找回。谢谢！
</c:if>
<c:if test="${securityQuestion ne null }">
	<form action="${pageContext.request.contextPath}/user/password/find/answerQuestion.html" method="post">
		<c:set var ="triedTime" scope="page" value="${sessionScope.SESSION_FIND_PSWD_QUESTION_ANSWERED }"/>
		<c:if test="${triedTime ne 0 }">
		您已经尝试<b>${triedTime }</b>,您还可尝试${3-triedTime }次<br>
		</c:if>
		您设置安全提问是:
		${securityQuestion}
		<br>
		请输入您的安全答案：<br>
		<input type="text" name="securityAnswer" id="securityAnswer" size="32"><br>
		<input type="submit" value="提交">
	</form>
</c:if>
</body>
</html>